<template>
  <div class="app-container">
    <el-row :gutter="16" style="width:100%;height: 100%;overflow: auto;">
      <el-col :span="24">
        <panel-group/>
      </el-col>
      <el-col :span="24">
        <home-short-menu />
      </el-col>
      <el-col v-permission="['SYS_ADMIN','COMMON_ADMIN','DASHBOARD_SALE_INFO']" :span="24" >
        <order-month-line-chart />
      </el-col>
    </el-row>
    <!-- <el-row :gutter="32">
      <el-col :xs="24" :sm="24" :lg="8">
        <div class="chart-wrapper">
          <raddar-chart/>
        </div>
      </el-col>
      <el-col :xs="24" :sm="24" :lg="8">
        <div class="chart-wrapper">
          <pie-chart/>
        </div>
      </el-col>
      <el-col :xs="24" :sm="24" :lg="8">
        <div class="chart-wrapper">
          <bar-chart/>
        </div>
      </el-col>
    </el-row> -->
  </div>
</template>

<script>
import PanelGroup from './components/PanelGroup'
import OrderMonthLineChart from './components/OrderMonthLineChart'
import HomeShortMenu from './components/HomeShortMenu'

export default {
  name: 'DashboardAdmin',
  components: {
    HomeShortMenu,
    OrderMonthLineChart,
    PanelGroup
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.dashboard-editor-container {
  padding: 6px 6px 6px 6px;
  background-color: rgb(240, 242, 245);
  .chart-wrapper {
    background: #fff;
    padding: 16px 16px 0;
    margin-bottom: 32px;
  }
}
</style>
